package com.turing.post.organization.util;

import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 收益机构实体类
 * 
 * @author zxp
 * @date 2012-12-14
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "INCOMEBRANCH")
public class IncomeBranch implements java.io.Serializable {
	/**
	 * 收益机构ID
	 */
	private BigInteger incomeBranchId;
	/**
	 * 发卡商 varchar(6) Not Null 参考IssueCompany
	 */
	private String issueCompanyNo;
	/**
	 * 收益机构名称 varchar(6) Not Null
	 */
	private String incomeBranchName;
	/**
	 * 备注 varchar(60) Null
	 */
	private String remark;
	/**
	 * 发卡机构号
	 */
	private String issueBranchNo;

	public IncomeBranch() {
		super();
	}

	@Id
	@Column(name = "INCOMEBRANCHID")
	public BigInteger getIncomeBranchId() {
		return incomeBranchId;
	}

	public void setIncomeBranchId(BigInteger incomeBranchId) {
		this.incomeBranchId = incomeBranchId;
	}

	@Column(name = "ISSUECOMPANYNO")
	public String getIssueCompanyNo() {
		return issueCompanyNo;
	}

	public void setIssueCompanyNo(String issueCompanyNo) {
		this.issueCompanyNo = issueCompanyNo;
	}

	@Column(name = "INCOMEBRANCHNAME")
	public String getIncomeBranchName() {
		return incomeBranchName;
	}

	public void setIncomeBranchName(String incomeBranchName) {
		this.incomeBranchName = incomeBranchName;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "ISSUEBRANCHNO", nullable = false)
	public String getIssueBranchNo() {
		return issueBranchNo;
	}

	public void setIssueBranchNo(String issueBranchNo) {
		this.issueBranchNo = issueBranchNo;
	}
}
